﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocumentUpload.aspx.cs"
    Inherits="InformationSystem.WebSite.Module.DocumentMgr.DocumentUpload" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server">
    </ext:ResourceManager>
    <ext:FormPanel ID="baseForm" Frame="true" runat="server" Title="文件上传" MonitorValid="true"
        Layout="FitLayout" PaddingSummary="20px 10px 0 20px">
        <Items>
            <ext:FileUploadField runat="server" ID="FileUpload" EmptyText="选择需要上传的文件" ButtonText="浏览">
            </ext:FileUploadField>
        </Items>
        <Buttons>
            <ext:Button ID="btnUpload" runat="server" Text="上传">
                <DirectEvents>
                    <Click OnEvent="btnUpload_Click">
                        <EventMask ShowMask="true" Msg="正在上传..." MinDelay="500"  />
                    </Click>
                    
                </DirectEvents>
            </ext:Button>
            <ext:Button ID="btnReset" runat="server" Text="清空">
                <Listeners>
                    <Click Handler="#{baseForm}.getForm().reset();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:FormPanel>
    </form>
</body>
</html>
